//
//  YFCalendarCell.h
//  CalendarDemo
//
//  Created by Winny Zhang on 2019/4/1.
//  Copyright © 2019 Winny Zhang. All rights reserved.
//

#import <FSCalendar/FSCalendar.h>

typedef NS_ENUM(NSUInteger, SelectionType) {
    SelectionTypeNone,
    SelectionTypeSingle,
    SelectionTypeLeftBorder,
    SelectionTypeMiddle,
    SelectionTypeRightBorder
};

NS_ASSUME_NONNULL_BEGIN

@interface YFCalendarCell : FSCalendarCell

/**
 当前时间 Layer
 */
@property (weak, nonatomic) CAShapeLayer *todayLayer;
/**
 日期 Layer
 */
@property (weak, nonatomic) CAShapeLayer *selectionLayer;

/**
 选中的的类型
 */
@property (assign, nonatomic) SelectionType selectionType;

@end

NS_ASSUME_NONNULL_END
